<?php
if (isset($url)) {
  $paginator->options(array('url' => $url));
}
?>
<div id="paginator">
  <?php echo $paginator->prev('«zurück'); ?>
  <?php echo $paginator->next('weiter»'); ?>
</div>